import { RouteRecordWithMenuItem } from "@/router/types";
import BasicLayout from "@/layouts/BasicLayout";
import Page404 from "@/views/exception/404";

const routes: RouteRecordWithMenuItem[] = [
  {
    path: "/exception",
    key: "/exception",
    label: "异常页面",
    element: <BasicLayout />,
    children: [
      {
        path: "404",
        key: "/exception/404",
        label: "404页面",
        element: <Page404 />,
      },
    ],
  },
];

export default routes;
